package com.code.user.model;

import com.code.common.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author Yan
 * @since 2023-04-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_user")
@ApiModel(value="UserDO对象", description="用户信息表")
public class UserDO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户关联账号Id")
    private String accountId;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "个性签名")
    private String remark;

    @ApiModelProperty(value = "个人简介")
    private String profile;

    @ApiModelProperty(value = "性别，默认-1未知，1 为男，0 为女")
    private Boolean gender;

    @ApiModelProperty(value = "主题颜色")
    private String themeColor;


}
